package com.tencent.wepay.protocol.pay.response;

import java.io.Serializable;

import com.tencent.wepay.constant.enums.BankEnum;
import com.tencent.wepay.constant.enums.FeeTypeEnum;
import com.tencent.wepay.constant.enums.SubscribeEnum;
import com.tencent.wepay.constant.enums.TradeStatusEnum;
import com.tencent.wepay.constant.enums.TradeTypeEnum;
import com.thoughtworks.xstream.annotations.XStreamAlias;
@XStreamAlias("xml")
public class OrderInfoResponse  implements Serializable{
	private static final long serialVersionUID = 4035051690651166519L;
	@XStreamAlias("return_code")
	private String returnCode;
	@XStreamAlias("return_msg")
	private String returnMsg;
	@XStreamAlias("appid")
	private String appid;
	@XStreamAlias("mch_id")
	private String mchId;
	@XStreamAlias("device_info")
	private String deviceInfo;
	@XStreamAlias("nonce_str")
	private String nonceStr;
	@XStreamAlias("result_code")
	private String resultCode;
	@XStreamAlias("err_code_des")
	private String errCodeDes;
	@XStreamAlias("err_code")
	private String errCode;
	@XStreamAlias("trade_type")
	private TradeTypeEnum tradeType;
	@XStreamAlias("openid")
	private String openid;
	@XStreamAlias("is_subscribe")
	private SubscribeEnum isSubscribe;
	@XStreamAlias("sign")
	private String sign;
	@XStreamAlias("trade_state")
	private TradeStatusEnum status;
	@XStreamAlias("bank_type")
	private BankEnum bank;
	@XStreamAlias("total_fee")
	private Integer totalFee;
	@XStreamAlias("fee_type")
	private FeeTypeEnum feeType;
	@XStreamAlias("cash_fee")
	private Integer cashFee;
	@XStreamAlias("cash_fee_type")
	private FeeTypeEnum cashFeeType;
	@XStreamAlias("coupon_fee")
	private Integer couponFee;
	@XStreamAlias("coupon_count")
	private Integer couponCount;
	/**
	 * 交易单号只有支付完成的才返回
	 */
	@XStreamAlias("transaction_id")
	private String transactionId;
	@XStreamAlias("out_trade_no")
	private String tradeNo;
	@XStreamAlias("attach")
	private String attach;
	@XStreamAlias("time_end")
	private String endTime;
	@XStreamAlias("trade_state_desc")
	private String statusDesc;
	public String getReturnCode() {
		return returnCode;
	}
	public void setReturnCode(String returnCode) {
		this.returnCode = returnCode;
	}
	public String getReturnMsg() {
		return returnMsg;
	}
	public void setReturnMsg(String returnMsg) {
		this.returnMsg = returnMsg;
	}
	public String getAppid() {
		return appid;
	}
	public void setAppid(String appid) {
		this.appid = appid;
	}
	public String getMchId() {
		return mchId;
	}
	public void setMchId(String mchId) {
		this.mchId = mchId;
	}
	public String getDeviceInfo() {
		return deviceInfo;
	}
	public void setDeviceInfo(String deviceInfo) {
		this.deviceInfo = deviceInfo;
	}
	public String getNonceStr() {
		return nonceStr;
	}
	public void setNonceStr(String nonceStr) {
		this.nonceStr = nonceStr;
	}
	public String getResultCode() {
		return resultCode;
	}
	public void setResultCode(String resultCode) {
		this.resultCode = resultCode;
	}
	public String getErrCodeDes() {
		return errCodeDes;
	}
	public void setErrCodeDes(String errCodeDes) {
		this.errCodeDes = errCodeDes;
	}
	public String getErrCode() {
		return errCode;
	}
	public void setErrCode(String errCode) {
		this.errCode = errCode;
	}
	public TradeTypeEnum getTradeType() {
		return tradeType;
	}
	public void setTradeType(TradeTypeEnum tradeType) {
		this.tradeType = tradeType;
	}
	public String getOpenid() {
		return openid;
	}
	public void setOpenid(String openid) {
		this.openid = openid;
	}
	public SubscribeEnum getIsSubscribe() {
		return isSubscribe;
	}
	public void setIsSubscribe(SubscribeEnum isSubscribe) {
		this.isSubscribe = isSubscribe;
	}
	public String getSign() {
		return sign;
	}
	public void setSign(String sign) {
		this.sign = sign;
	}
	public TradeStatusEnum getStatus() {
		return status;
	}
	public void setStatus(TradeStatusEnum status) {
		this.status = status;
	}
	public BankEnum getBank() {
		return bank;
	}
	public void setBank(BankEnum bank) {
		this.bank = bank;
	}
	public Integer getTotalFee() {
		return totalFee;
	}
	public void setTotalFee(Integer totalFee) {
		this.totalFee = totalFee;
	}
	public FeeTypeEnum getFeeType() {
		return feeType;
	}
	public void setFeeType(FeeTypeEnum feeType) {
		this.feeType = feeType;
	}
	public Integer getCashFee() {
		return cashFee;
	}
	public void setCashFee(Integer cashFee) {
		this.cashFee = cashFee;
	}
	public FeeTypeEnum getCashFeeType() {
		return cashFeeType;
	}
	public void setCashFeeType(FeeTypeEnum cashFeeType) {
		this.cashFeeType = cashFeeType;
	}
	public Integer getCouponFee() {
		return couponFee;
	}
	public void setCouponFee(Integer couponFee) {
		this.couponFee = couponFee;
	}
	public Integer getCouponCount() {
		return couponCount;
	}
	public void setCouponCount(Integer couponCount) {
		this.couponCount = couponCount;
	}
	public String getTransactionId() {
		return transactionId;
	}
	public void setTransactionId(String transactionId) {
		this.transactionId = transactionId;
	}
	public String getTradeNo() {
		return tradeNo;
	}
	public void setTradeNo(String tradeNo) {
		this.tradeNo = tradeNo;
	}
	public String getAttach() {
		return attach;
	}
	public void setAttach(String attach) {
		this.attach = attach;
	}
	public String getEndTime() {
		return endTime;
	}
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	public String getStatusDesc() {
		return statusDesc;
	}
	public void setStatusDesc(String statusDesc) {
		this.statusDesc = statusDesc;
	}
}
